f40566f9bbd0d9e7d130e30d39c373f0827f3978,source/de/anomic/yacy/yacyClient.java,yacyClient,crawlOrder,#yacySeed#URL[]#URL[]#number#,832
Before Change
// sending request
try {
return nxTools.table(
httpc.wput(
new URL("http://" + address + "/yacy/crawlOrder.html"),
targetSeed.getHexHash() + ".yacyh",
timeout,
null,
null,
(useProxy)?yacyCore.seedDB.sb.remoteProxyConfig:null,
post,
null
), "UTF-8"
);
} catch (Exception e) {
// most probably a network time-out exception
yacyCore.log.logSevere("yacyClient.crawlOrder error: peer=" + targetSeed.getName() + ", error=" + e.getMessage());
After Change
// send request
try {
final HashMap result = nxTools.table(
httpc.wput(new URL("http://" + address + "/yacy/crawlOrder.html"),
target.getHexHash() + ".yacyh",
timeout,
null,
null,
proxyConfig(),
post,
null
), "UTF-8"
);
return result;
} catch (Exception e) {
// most probably a network time-out exception
yacyCore.log.logSevere("yacyClient.crawlOrder error: peer=" + target.getName() + ", error=" + e.getMessage());